import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import svgIcon from '@/components/iconSvg/index.vue';
import fontIcon from '@/components/fontIcon.vue';
import nameIcon from '@/components/iconSvg/nameIcon.vue';

export default {
  install(app) {
    app.component('SvgIcon', svgIcon);
    app.component('fontIcon', fontIcon);
    app.component('nameIcon', nameIcon);
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component);
    }
  },
};
